package cn.iocoder.yudao.module.nmkj.controller.admin.carousel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 首页轮播图新增/修改 Request VO")
@Data
public class CarouselSaveReqVO {

    @Schema(description = "轮播图ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13723")
    private Long id;

    @Schema(description = "轮播图地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "轮播图地址不能为空")
    private String img;

    @Schema(description = "轮播图权重", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "轮播图权重不能为空")
    private Long sort;

    @Schema(description = "状态")
    private Integer status;

}